#!/usr/bin/env python
# encoding:utf-8
'''
@author: yangyongjie
@license: (C) Copyright 2013-2017, Node Supply Chain Manager Corporation Limited. 
@contact: deamoncao100@gmail.com
software: garner
@file: 调试.py
@time: 2022/9/13 21:03
@desc:
'''
a = input("输入a").split("")
print()
n = 4
a = [123,45,678,23]
b=""
for i in range(n):
    for j in range(0,n-i-1):
        if a[j+1] > a[j]:
            a[j],a[j+1] = a[j+1],a[j]
print(a)
for i in range(n-1):
    b += str(a[i])
print(b)




